<div ng-controller="addBannerCtrl">
    <h3 class="page-header">新增Banner</h3><a href="/banner">返回</a>
    <form id="paramForm" method="post" class="form-horizontal">
        <div class="form-group">
            <label for="name">名称</label>
            <input type="text" ng-model="name" class="form-control" id="name" placeholder="">
        </div>
        <div class="form-group">
            <label for="imgUrl">图片</label>
            <input type="text" ng-model="imgUrl" class="form-control" id="imgUrl" placeholder="图片URL">
        </div>

        <div class="form-group">
            <label for="type">类别</label>
            <!--<input type="email" class="form-control" id="status" placeholder="jane.doe@example.com">-->
            <select ng-model="type" id="type" ng-options="x.name for x in typeSelects" class="form-control">

            </select>
        </div>
        <div class="form-group">
            <label for="content">内容</label>
            <input type="text" ng-model="content" size="20" class="form-control" id="content" placeholder="type选商品时为商品id，选类目时为类目id，type选链接时为url">
        </div>
        <button type="submit" ng-click="saveBannerBtn()" class="btn btn-default">保存</button>
    </form>

</div>
